<% content_for :buttons, 'save_buttons'  %>
<%= simple_form_for(@view) do |f| %>
    <%= render layout: 'form_with_buttons', locals: {f: f} do %>
        <%= f.input :name, hint: @view.hint, placeholder: @view.placeholder %>
        <%= f.input :format %>
        <%= f.input :handler, collection: ActionView::Template.template_handler_extensions, default: "erb" %>
        <%= f.input :body, as: :text, input_html: {:style => "height: 500px", :cols => 80} %>
    <% end %>
<% end %>
